home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 2001 November / macformat-109.iso / Demos / Alice Demo / demo / pak0.pk3 / scripts / enlarged.shader < prev    next >
Encoding:
Text File  |  2000-11-20  |  1.1 KB  |  59 lines

  1. textures/enlarged/trans_vines
  2. {
  3.     surfaceparm alphashadow
  4.     surfaceparm trans
  5.     qer_editorimage textures/enlarged/vines1_8.tga
  6.     cull none
  7.         
  8.     {
  9.         map textures/enlarged/vines1_8.tga
  10.         blendFunc GL_ONE GL_ZERO
  11.         alphaFunc GE128
  12.         depthWrite
  13.         rgbGen identity
  14.         
  15.     }
  16.     {
  17.         map $lightmap
  18.         rgbGen identity
  19.         blendFunc GL_DST_COLOR GL_ZERO
  20.         depthFunc equal
  21.     }
  22.  
  23. }
  24. //sideways vines for garden
  25. textures/enlarged/vines_sideways1_1
  26. {
  27.     surfaceparm alphashadow
  28.     surfaceparm trans
  29.     qer_editorimage textures/enlarged/vines_sideways1_1.tga
  30.     //cull none        
  31.     {
  32.         map textures/enlarged/vines_sideways1_1.tga
  33.         //blendFunc GL_ALPHA GL_ONE_MINUS_ALPHA
  34.         //blendFunc GL_ONE GL_ZERO
  35.         alphaFunc GT0
  36.         depthWrite
  37.         rgbGen identity
  38.         alphaGen identity
  39.     }
  40.     {
  41.         map $lightmap
  42.         blendFunc GL_DST_COLOR GL_ZERO
  43.         rgbGen identity
  44.         depthFunc equal
  45.     }
  46. }
  47.  
  48. textures/enlarged/hanging_moss2_1
  49. {
  50.     {
  51.         map textures/enlarged/hanging_moss2_1.tga
  52.             blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  53.     }
  54.     {
  55.         map $lightmap
  56.         blendFunc GL_ONE_MINUS_SRC_ALPHA GL_ONE
  57.     }
  58. }
  59.